package com.zjsd.sqeybusiness.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.zjsd.sqeybusiness.dto.DlaccountDTO;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 渠道代理账户信息对象 dlaccount
 *
 * @author Zheng
 * @date 2022-05-10
 */
public class Dlaccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long accountid;

    /** 代理id */
    @Excel(name = "代理id")
    private Long deptid;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal zhye;

    private Long tcid ;

    private String tcname ;

    private String zknum ;

    private BigDecimal sjje ;
    private String bz ;

    private String yfzhye ;

    public String getYfzhye() {
        return yfzhye;
    }

    public void setYfzhye(String yfzhye) {
        this.yfzhye = yfzhye;
    }

    private SysDept sysdept = new SysDept();

    public SysDept getSysdept() {
        return sysdept;
    }

    public void setSysdept(SysDept sysdept) {
        this.sysdept = sysdept;
    }

    private List<DlaccountDTO> list = new ArrayList<DlaccountDTO>();

    public List<DlaccountDTO> getList() {
        return list;
    }

    public void setList(List<DlaccountDTO> list) {
        this.list = list;
    }

    public BigDecimal getSjje() {
        return sjje;
    }

    public void setSjje(BigDecimal sjje) {
        this.sjje = sjje;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }
    public String getZknum() {
        return zknum;
    }

    public void setZknum(String zknum) {
        this.zknum = zknum;
    }

    private List<Tcdetail> tcdetails = new ArrayList<Tcdetail>();

    public String getTcname() {
        return tcname;
    }

    public void setTcname(String tcname) {
        this.tcname = tcname;
    }

    public Long getTcid() {
        return tcid;
    }

    public void setTcid(Long tcid) {
        this.tcid = tcid;
    }

    public void setAccountid(Long accountid)
    {
        this.accountid = accountid;
    }

    public Long getAccountid()
    {
        return accountid;
    }
    public void setDeptid(Long deptid)
    {
        this.deptid = deptid;
    }

    public Long getDeptid()
    {
        return deptid;
    }
    public void setZhye(BigDecimal zhye)
    {
        this.zhye = zhye;
    }

    public BigDecimal getZhye()
    {
        return zhye;
    }

    public List<Tcdetail> getTcdetails() {
        return tcdetails;
    }

    public void setTcdetails(List<Tcdetail> tcdetails) {
        this.tcdetails = tcdetails;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountid", getAccountid())
            .append("deptid", getDeptid())
            .append("zhye", getZhye())
            .toString();
    }
}
